package com.dataseek.iot.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dataseek.iot.toolkit.mybatis.entity.BaseEntity;
import lombok.Data;

/**
 * @discription:
 * @author: Freya.Yan
 * @date: 2022/1/11
 */
@Data
@TableName(value = "tenant.pdt_category")
public class PdtCategory extends BaseEntity {
    //主鍵id
    @TableId(value = "id")
    private Long id;

    @TableField(value = "ctg_name")
    private String ctgName;
    @TableField(value = "ctg_code")
    private String ctgCode;
    @TableField(value = "parent_id")
    private long parentId;

}
